home *** CD-ROM | disk | FTP | other *** search
- <<<<<<<<<<<<<<<<<<<<< ERASE >>>>>>>>>>>>>>>>>>>>>
-
- PURPOSE: Deletes one or more files from a disk.
-
- TIP: Be careful when using wild cards ... a '*' replaces a series of
- characters and '?' replaces one character. Using ERASE *.* will erase
- all files in the current directory of the default drive. If you are
- not certain what will be erased when using wild cards ... first use
- the directory command (DIR) with the same wild cards.
-
- ; ERASE B:CHICAGO.DAT Erases the file CHICAGO.DAT from the
- ; current directory of Drive B.
-
- ; ERASE C:\LOTUS.DAT\*.DIF Erases all files ending in .DIF from
- ; the LOTUS.DAT directory of Drive C.
-
- ; ERASE A:AIR??.DOC Erases all files beginning with AIR
- ; and ending with .DOC from the current
- ; directory of Drive A. This will erase
- ; AIR01.DOC and AIR25.DOC but it will
- ; not erase AIR2014.DOC because each '?'
- ; is a wild card for only one character.
- ###